#pragma once

#include <opencv/highgui.h>
#include <vector>

using namespace std;


struct sPoint {
	float x, y;
};


extern bool GVF (IplImage *img, IplImage *u, IplImage *v, float mu, int iter);
extern bool snake_deform (vector<sPoint> &xy, float omega_1, float omega_2, float gamma, float eta, IplImage *fx, IplImage *fy, int iter);
